how to make diamond shape pattern in c